package com.mxx.bu_yang.dialog;

import android.widget.TextView;

import com.mxx.bu_yang.R;

/**
 * 作者：刘江飞
 * 时间：2020/10/15  9:03
 * 邮箱：642371742Z@qq.com
 * 描述：数量不符
 **/
public class QuantityDiscrepancyDialog extends CancelSureDialog<String> {

    @Override
    protected int setLayoutId() {
        return R.layout.dialog_quantity_discrepancy;
    }

    @Override
    protected void initView() {
        super.initView();
        TextView tvHint = mRootView.findViewById(R.id.tv_hint);
        String hint = (String) getSerializableValue("hint");
        tvHint.setText(hint);
    }

    @Override
    protected void rightBtnSureClick() {
        dismiss();
        mResultListener.result("");
    }
}
